[INFO] cloning repository https://github.com/inevity/sharecli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/inevity/sharecli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finevity%2Fsharecli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finevity%2Fsharecli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9520b4d9ff5c730607076332cdf00193e752de48
[INFO] checking inevity/sharecli against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finevity%2Fsharecli" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/inevity/sharecli on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/inevity/sharecli
[INFO] removed path dependency ghost from git repo https://github.com/inevity/sharecli
[INFO] finished tweaking git repo https://github.com/inevity/sharecli
[INFO] tweaked toml for git repo https://github.com/inevity/sharecli written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/inevity/sharecli already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (ghost) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/clap-rs/clap/`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (ghost) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3f8ce8f4c2597f5650d8c5fe3a65d5f08139119fddb5d4cff7563a102a04b5f4
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3f8ce8f4c2597f5650d8c5fe3a65d5f08139119fddb5d4cff7563a102a04b5f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3f8ce8f4c2597f5650d8c5fe3a65d5f08139119fddb5d4cff7563a102a04b5f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f8ce8f4c2597f5650d8c5fe3a65d5f08139119fddb5d4cff7563a102a04b5f4", kill_on_drop: false }`
[INFO] [stdout] 3f8ce8f4c2597f5650d8c5fe3a65d5f08139119fddb5d4cff7563a102a04b5f4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bda2b492e07b955ac83c6012b245aa5809fc3feb2e31735608359939d9b6d656
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "bda2b492e07b955ac83c6012b245aa5809fc3feb2e31735608359939d9b6d656", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (ghost) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling syn v1.0.41
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]     Checking gimli v0.22.0
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]     Checking adler v0.2.3
[INFO] [stderr]     Checking object v0.20.0
[INFO] [stderr]     Checking hashbrown v0.9.0
[INFO] [stderr]     Checking arc-swap v0.4.7
[INFO] [stderr]     Checking futures-core v0.3.5
[INFO] [stderr]     Checking os_str_bytes v2.3.2
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking pin-project-lite v0.1.7
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking maplit v1.0.2
[INFO] [stderr]     Checking textwrap v0.12.1
[INFO] [stderr]     Checking net2 v0.2.35
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking signal-hook-registry v1.2.1
[INFO] [stderr]     Checking mio v0.6.22
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling miniz_oxide v0.4.2
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking chrono v0.4.15
[INFO] [stderr]     Checking addr2line v0.13.0
[INFO] [stderr]     Checking backtrace v0.3.50
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.1 (https://github.com/clap-rs/clap/#03c11607)
[INFO] [stderr]    Compiling ghost v0.1.2
[INFO] [stderr]     Checking tokio v0.2.22
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking clap v3.0.0-beta.1 (https://github.com/clap-rs/clap/#03c11607)
[INFO] [stderr]     Checking sharecli v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `clap::SubCommand`
[INFO] [stdout]   --> src/main.rs:15:60
[INFO] [stdout]    |
[INFO] [stdout] 15 | use clap::{App, AppSettings, Arg, ArgSettings, ArgMatches, SubCommand};
[INFO] [stdout]    |                                                            ^^^^^^^^^^
[INFO] [stdout]    |                                                            |
[INFO] [stdout]    |                                                            no `SubCommand` in the root
[INFO] [stdout]    |                                                            help: a similar name exists in the module (notice the capitalization): `Subcommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `framework` in `ghost`
[INFO] [stdout]   --> src/main.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | use ghost::framework::{
[INFO] [stdout]    |            ^^^^^^^^^ could not find `framework` in `ghost`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ghost::endpoints`
[INFO] [stdout]   --> src/main.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | use ghost::endpoints::{dns};
[INFO] [stdout]    |            ^^^^^^^^^ could not find `endpoints` in `ghost`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ghost::framework`
[INFO] [stdout]   --> src/main.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | use ghost::framework::{
[INFO] [stdout]    |            ^^^^^^^^^ could not find `framework` in `ghost`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `clap::SubCommand`
[INFO] [stdout]   --> src/main.rs:15:60
[INFO] [stdout]    |
[INFO] [stdout] 15 | use clap::{App, AppSettings, Arg, ArgSettings, ArgMatches, SubCommand};
[INFO] [stdout]    |                                                            ^^^^^^^^^^
[INFO] [stdout]    |                                                            |
[INFO] [stdout]    |                                                            no `SubCommand` in the root
[INFO] [stdout]    |                                                            help: a similar name exists in the module (notice the capitalization): `Subcommand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `framework` in `ghost`
[INFO] [stdout]   --> src/main.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | use ghost::framework::{
[INFO] [stdout]    |            ^^^^^^^^^ could not find `framework` in `ghost`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ghost::endpoints`
[INFO] [stdout]   --> src/main.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | use ghost::endpoints::{dns};
[INFO] [stdout]    |            ^^^^^^^^^ could not find `endpoints` in `ghost`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ghost::framework`
[INFO] [stdout]   --> src/main.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | use ghost::framework::{
[INFO] [stdout]    |            ^^^^^^^^^ could not find `framework` in `ghost`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ApiFailure`
[INFO] [stdout]   --> src/main.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |             ApiFailure::Error(status, errors) => {
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared type or module `ApiFailure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ApiFailure`
[INFO] [stdout]   --> src/main.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |             ApiFailure::Error(status, errors) => {
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared type or module `ApiFailure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ApiFailure`
[INFO] [stdout]   --> src/main.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |             ApiFailure::Invalid(reqwest_err) => println!("Error: {}", reqwest_err),
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared type or module `ApiFailure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ApiFailure`
[INFO] [stdout]   --> src/main.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |             ApiFailure::Invalid(reqwest_err) => println!("Error: {}", reqwest_err),
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared type or module `ApiFailure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ApiFailure`
[INFO] [stdout]   --> src/main.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |             ApiFailure::Error(status, errors) => {
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared type or module `ApiFailure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ApiFailure`
[INFO] [stdout]   --> src/main.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |             ApiFailure::Invalid(reqwest_err) => println!("Error: {}", reqwest_err),
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared type or module `ApiFailure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ApiFailure`
[INFO] [stdout]   --> src/main.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |             ApiFailure::Error(status, errors) => {
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared type or module `ApiFailure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ApiFailure`
[INFO] [stdout]   --> src/main.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |             ApiFailure::Invalid(reqwest_err) => println!("Error: {}", reqwest_err),
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared type or module `ApiFailure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ApiClient` in this scope
[INFO] [stdout]   --> src/main.rs:31:35
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct Section<'a, ApiClientType: ApiClient> {// trait bound
[INFO] [stdout]    |                                   ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ApiResult` in this scope
[INFO] [stdout]   --> src/main.rs:38:22
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn print_response<T: ApiResult>(response: ApiResponse<T>) {
[INFO] [stdout]    |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ApiResponse` in this scope
[INFO] [stdout]   --> src/main.rs:38:43
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn print_response<T: ApiResult>(response: ApiResponse<T>) {
[INFO] [stdout]    |                                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ApiResult` in this scope
[INFO] [stdout]   --> src/main.rs:59:27
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn print_response_json<T: ApiResult>(response: ApiResponse<T>)
[INFO] [stdout]    |                           ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ApiResponse` in this scope
[INFO] [stdout]   --> src/main.rs:59:48
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn print_response_json<T: ApiResult>(response: ApiResponse<T>)
[INFO] [stdout]    |                                                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ApiClient` in this scope
[INFO] [stdout]   --> src/main.rs:84:23
[INFO] [stdout]    |
[INFO] [stdout] 84 | fn dns<ApiClientType: ApiClient>(arg_matches: &ArgMatches, api_client: &ApiClientType) {
[INFO] [stdout]    |                       ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ApiClient` in this scope
[INFO] [stdout]   --> src/main.rs:96:28
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn mock_api<ApiClientType: ApiClient>(_args: &ArgMatches, _api: &ApiClientType) {
[INFO] [stdout]    |                            ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MockApiClient` in this scope
[INFO] [stdout]   --> src/main.rs:97:20
[INFO] [stdout]    |
[INFO] [stdout] 97 |     let mock_api = MockApiClient {};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NoopEndpoint` in this scope
[INFO] [stdout]   --> src/main.rs:98:20
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let endpoint = NoopEndpoint {};
[INFO] [stdout]    |                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `post` in crate `ghost`
[INFO] [stdout]    --> src/main.rs:276:39
[INFO] [stdout]     |
[INFO] [stdout] 276 |                     let resp = ghost::post(data).await?;
[INFO] [stdout]     |                                       ^^^^ not found in `ghost`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `edit` in crate `ghost`
[INFO] [stdout]    --> src/main.rs:282:39
[INFO] [stdout]     |
[INFO] [stdout] 282 |                     let resp = ghost::edit(data).await?;
[INFO] [stdout]     |                                       ^^^^ not found in `ghost`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `delete` in crate `ghost`
[INFO] [stdout]    --> src/main.rs:290:46
[INFO] [stdout]     |
[INFO] [stdout] 290 | ...                   let resp = ghost::delete(var.to_string()).await?;
[INFO] [stdout]     |                                         ^^^^^^ not found in `ghost`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `list` in crate `ghost`
[INFO] [stdout]    --> src/main.rs:329:43
[INFO] [stdout]     |
[INFO] [stdout] 329 |                         let resp = ghost::list(q1, q2).await?;
[INFO] [stdout]     |                                           ^^^^ not found in `ghost`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ArgSettings`
[INFO] [stdout]   --> src/main.rs:15:35
[INFO] [stdout]    |
[INFO] [stdout] 15 | use clap::{App, AppSettings, Arg, ArgSettings, ArgMatches, SubCommand};
[INFO] [stdout]    |                                   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 21 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ApiClient` in this scope
[INFO] [stdout]   --> src/main.rs:31:35
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct Section<'a, ApiClientType: ApiClient> {// trait bound
[INFO] [stdout]    |                                   ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ApiResult` in this scope
[INFO] [stdout]   --> src/main.rs:38:22
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn print_response<T: ApiResult>(response: ApiResponse<T>) {
[INFO] [stdout]    |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ApiResponse` in this scope
[INFO] [stdout]   --> src/main.rs:38:43
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn print_response<T: ApiResult>(response: ApiResponse<T>) {
[INFO] [stdout]    |                                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ApiResult` in this scope
[INFO] [stdout]   --> src/main.rs:59:27
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn print_response_json<T: ApiResult>(response: ApiResponse<T>)
[INFO] [stdout]    |                           ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ApiResponse` in this scope
[INFO] [stdout]   --> src/main.rs:59:48
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn print_response_json<T: ApiResult>(response: ApiResponse<T>)
[INFO] [stdout]    |                                                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ApiClient` in this scope
[INFO] [stdout]   --> src/main.rs:84:23
[INFO] [stdout]    |
[INFO] [stdout] 84 | fn dns<ApiClientType: ApiClient>(arg_matches: &ArgMatches, api_client: &ApiClientType) {
[INFO] [stdout]    |                       ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ApiClient` in this scope
[INFO] [stdout]   --> src/main.rs:96:28
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn mock_api<ApiClientType: ApiClient>(_args: &ArgMatches, _api: &ApiClientType) {
[INFO] [stdout]    |                            ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MockApiClient` in this scope
[INFO] [stdout]   --> src/main.rs:97:20
[INFO] [stdout]    |
[INFO] [stdout] 97 |     let mock_api = MockApiClient {};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NoopEndpoint` in this scope
[INFO] [stdout]   --> src/main.rs:98:20
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let endpoint = NoopEndpoint {};
[INFO] [stdout]    |                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `post` in crate `ghost`
[INFO] [stdout]    --> src/main.rs:276:39
[INFO] [stdout]     |
[INFO] [stdout] 276 |                     let resp = ghost::post(data).await?;
[INFO] [stdout]     |                                       ^^^^ not found in `ghost`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `edit` in crate `ghost`
[INFO] [stdout]    --> src/main.rs:282:39
[INFO] [stdout]     |
[INFO] [stdout] 282 |                     let resp = ghost::edit(data).await?;
[INFO] [stdout]     |                                       ^^^^ not found in `ghost`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `delete` in crate `ghost`
[INFO] [stdout]    --> src/main.rs:290:46
[INFO] [stdout]     |
[INFO] [stdout] 290 | ...                   let resp = ghost::delete(var.to_string()).await?;
[INFO] [stdout]     |                                         ^^^^^^ not found in `ghost`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `list` in crate `ghost`
[INFO] [stdout]    --> src/main.rs:329:43
[INFO] [stdout]     |
[INFO] [stdout] 329 |                         let resp = ghost::list(q1, q2).await?;
[INFO] [stdout]     |                                           ^^^^ not found in `ghost`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ArgSettings`
[INFO] [stdout]   --> src/main.rs:15:35
[INFO] [stdout]    |
[INFO] [stdout] 15 | use clap::{App, AppSettings, Arg, ArgSettings, ArgMatches, SubCommand};
[INFO] [stdout]    |                                   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sharecli`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 21 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "bda2b492e07b955ac83c6012b245aa5809fc3feb2e31735608359939d9b6d656", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bda2b492e07b955ac83c6012b245aa5809fc3feb2e31735608359939d9b6d656", kill_on_drop: false }`
[INFO] [stdout] bda2b492e07b955ac83c6012b245aa5809fc3feb2e31735608359939d9b6d656
